addstaticroute
Topermanentlyconfigurestaticroutes,youcanconfigurethembycreatingaroute-interfacefileinthe/etc/sysconfig/network-scripts/directoryforthe ...,2020年8月6日—Toaddastaticroutetothetable,you'lltypeacommandusingthefollowingsyntax:routeadddestination_networkMASKsubnet_mask ...,2011年4月20日—Anadministrativedistanceguidestheselectionofoneroutingprotocol(orstaticroute)overanother,whenmorethanoneprotocol...
![Linux如何在開機時自動設定static route?](https://i0.wp.com//img/photos/bs1.jpg?resize=425,225)
Linux如何在開機時自動設定static route?
若不是有跨網段的需求,其實staticroute用到的機會少之又少,畢竟一般人所處的環境是簡單不過了!一般的狀況下,大家只會有區域網路的routing,再來則是defaultgateway,這兩個通常不用特別設定,反正一直以來系...